﻿using BCEntity.WeChatComponent.WeChatUserTag;
using System;
using System.Collections.Generic;
using System.Text;

namespace BCData.WeChatComponent.WeChatUserTag
{
    /// <summary>
    /// 微信用户标签数据处理接口
    /// </summary>
    public interface IWeChatUserTagData
    {
        /// <summary>
        /// 添加微信用户标签
        /// </summary>
        /// <param name="weChatUserTagEntity">微信用户标签</param>
        /// <returns></returns>
        bool Add(WeChatUserTagEntity weChatUserTagEntity);
        /// <summary>
        /// 修改微信用户标签
        /// </summary>
        /// <param name="weChatUserTagEntity">微信用户标签</param>
        /// <returns></returns>
        bool Update(WeChatUserTagEntity weChatUserTagEntity);
        /// <summary>
        /// 删除微信用户标签
        /// </summary>
        /// <param name="tagId">微信用户标签Id</param>
        /// <returns></returns>
        bool Delete(int tagId);
        /// <summary>
        /// 删除所有微信用户标签
        /// </summary>
        /// <returns></returns>
        bool Delete();
        /// <summary>
        /// 获取微信用户标签列表
        /// </summary>
        /// <returns></returns>
        IEnumerable<WeChatUserTagEntity> Get();
    }
}
